#{extends 'Application/tela_func.html' /}
#{set title:'Busca usuario' /}

<html>

  <table border="0" class="posicao_tela">
    <tr><td><img src="/public/images/Pesquisa_usuario.png"></td><tr>
  </table>	
  
  <form class = "posicao_busca" action="@{Application.buscar_usuarios()}" method="GET">
	  <font size="4" align = "left">
	  <table border = "0">
	  <tr><td><select name="campo">        
		<option value = "cpf">CPF</option>
		<option value = "login">Login</option>
		<option value = "nome">Nome</option>
		<option value = "endereco">Endere&ccedil;o</option>
		<option value = "telefone">Telefone</option>
		<option value = "tipo">Tipo Usu&aacute;rio</option>
	  
	  </select>
	  </td>       <td><input name="busca" type="text" size="23" maxlength="80" ></td></tr>
	  <tr><td></td><td><input value="Buscar" type = "submit"></td></tr>
	  </table>
	  
	  <table border="0">
	  <tr><td><select name="resultado" size = "13" class = "busca_size">
	  #{list items: resultado, as:'r'}
			<option value=${r}>${r}</option>
	  #{/list}
	  </select></td></tr>	  
	  <table>	  
	  </font>
  </form>
  <form>
    <table align = "right">
		<tr><td><input value="Editar" type = "submit"></td><td></tr>
	</table>
  </form>
</html>